package com.heima.model.wemedia.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("wm_user")
public class WmUser implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField(value = "ap_user_id")
    private Integer apUserId;

    @TableField(value = "ap_author_id")
    private Integer apAuthorId;

    @TableField(value = "name")
    private String name;

    @TableField(value = "password")
    private String password;

    @TableField(value = "salt")
    private String salt;

    @TableField(value = "nickname")
    private String nickname;

    @TableField(value = "image")
    private String image;

    @TableField(value = "location")
    private String location;

    @TableField(value = "phone")
    private String phone;

    @TableField(value = "status")
    private Boolean status;

    @TableField(value = "email")
    private String email;

    @TableField(value = "type")
    private Boolean type;

    @TableField(value = "score")
    private Integer score;

    @TableField(value = "login_time")
    private Date loginTime;

    @TableField(value = "created_time")
    private Date createdTime;
}
